package cn.three.biz;

import java.util.List;

import cn.three.eneity.Admin;
import cn.three.factory_dao.Admindao;
import cn.three.daoImpl.adminloginimpl;

public class admindaobiz {
	Admindao dao=new adminloginimpl();
	public List<Admin> showAdmin(){
		return  dao.showAdmin();
	}
	public Admin loginAdmin(String adminName,String adminPwd){
		return dao.loginAdmin(adminName,adminPwd);
	}
	public int  addAdmin(Admin admin){
		return dao.addAdmin(admin);
	}
	public int updateAdmin(Admin admin){
		return dao.updatAdmin(admin);
	}

}
